package org.deadline.service.config;

import java.util.List;
import org.deadline.model.config.Role;

public interface RoleService {

	public abstract long countAllRoles();


	public abstract void deleteRole(Role role);


	public abstract Role findRole(Long id);


	public abstract List<Role> findAllRoles();


	public abstract List<Role> findRoleEntries(int firstResult, int maxResults);


	public abstract void saveRole(Role role);


	public abstract Role updateRole(Role role);

}
